package com.spzx.order;

import com.spzx.service.anno.EnableUserLoginAuthInterceptor;
import com.spzx.service.anno.EnableUserTokenFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

//  com.atguigu.spzx.order;
@EnableUserLoginAuthInterceptor
@SpringBootApplication
@EnableFeignClients(basePackages = {
        "com.spzx.feign.cart",
        "com.spzx.feign.user",
        "com.spzx.feign.product"})
@EnableUserTokenFeignInterceptor
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }

}
